package com.demo.po.base;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

public class BaseBean implements Serializable {

    //private static final long serialVersionUID = 1L;

    private String datefield; //需要检索时间范围的字段
    private String datebegin; //开始时间
    private String dateend; //结束时间

    private String language; /* 语言 */
    private String sortord; /* 排序方式 */
    private String term; /* 模糊条件 */

    @JsonIgnore
    public String getDatefield() {
        return datefield;
    }

    @JsonProperty
    public void setDatefield(String datefield) {
        this.datefield = datefield;
    }

    @JsonIgnore
    public String getDatebegin() {
        return datebegin;
    }

    @JsonProperty
    public void setDatebegin(String datebegin) {
        this.datebegin = datebegin;
    }

    @JsonIgnore
    public String getDateend() {
        return dateend;
    }

    @JsonProperty
    public void setDateend(String dateend) {
        this.dateend = dateend;
    }

    @JsonProperty
    public String getLanguage() {
        return language;
    }

    @JsonProperty
    public void setLanguage(String language) {
        this.language = language;
    }

    @JsonIgnore
    public String getSortord() {
        return sortord;
    }

    @JsonProperty
    public void setSortord(String sortord) {
        this.sortord = sortord;
    }

    @JsonIgnore
    public String getTerm() {
        return term;
    }

    @JsonProperty
    public void setTerm(String term) {
        this.term = term;
    }
}
